package com.honghu.cloud.bean;


import java.math.BigDecimal;
import java.util.Date;

import com.baomidou.mybatisplus.annotations.TableName;
import com.honghu.cloud.common.bean.IdEntity;
import com.honghu.cloud.constant.Globals;


/**
 * 秒杀商品表
 * 
 * @author l
 * @email l@qq.com
 * @date 2021-04-15 11:28:53
 */
@SuppressWarnings("serial")
@TableName(Globals.DEFAULT_TABLE_SUFFIX + "seckill_goods")
public class SeckillGoods extends IdEntity {
	private static final long serialVersionUID = 1L;

	/**
	 * 域模型ID
	 */
	/**
	 * 添加时间
	 */
	/**
	 * 是否删除，0 否  1是
	 */
	/**
	 * 开始时间
	 */
	private Date beginTime;
	/**
	 * 结束时间
	 */
	private Date endTime;
	/**
	 * 商品的一种标识，活动商品的一种标识  用于区分是否是秒杀，每次活动商品的修改这个goods_code是随机更换的
	 */
	private String goods_code;
	/**
	 * 商品的ID
	 */
	private Long goods_id;
	/**
	 * 商品的名称
	 */
	private String goods_name;
	/**
	 * 店铺的ID
	 */
	private Long store_id;
	/**
	 * 店铺的名称
	 */
	private String store_name;
	/**
	 * 秒杀的数量
	 */
	private Integer goods_count;
	/**
	 * 秒杀的价格
	 */
	private BigDecimal goods_price;
	/**
	 * 秒杀的状态 0 未开始 1秒杀开始   -1 秒杀结束
	 */
	private Integer status;
	/**
	 * 是否推荐 0 否 1 是 
	 */
	private Integer sequence;
	public void setBeginTime(Date beginTime) 
	{
		this.beginTime = beginTime;
	}

	public Date getBeginTime() 
	{
		return beginTime;
	}
	public void setEndTime(Date endTime) 
	{
		this.endTime = endTime;
	}

	public Date getEndTime() 
	{
		return endTime;
	}
	public void setGoods_code(String goods_code) 
	{
		this.goods_code = goods_code;
	}

	public String getGoods_code() 
	{
		return goods_code;
	}
	public void setGoods_id(Long goods_id) 
	{
		this.goods_id = goods_id;
	}

	public Long getGoods_id() 
	{
		return goods_id;
	}
	public void setGoods_name(String goods_name) 
	{
		this.goods_name = goods_name;
	}

	public String getGoods_name() 
	{
		return goods_name;
	}
	public void setStore_id(Long store_id) 
	{
		this.store_id = store_id;
	}

	public Long getStore_id() 
	{
		return store_id;
	}
	public void setStore_name(String store_name) 
	{
		this.store_name = store_name;
	}

	public String getStore_name() 
	{
		return store_name;
	}
	public void setGoods_count(Integer goods_count) 
	{
		this.goods_count = goods_count;
	}

	public Integer getGoods_count() 
	{
		return goods_count;
	}
	public void setGoods_price(BigDecimal goods_price) 
	{
		this.goods_price = goods_price;
	}

	public BigDecimal getGoods_price() 
	{
		return goods_price;
	}
	public void setStatus(Integer status) 
	{
		this.status = status;
	}

	public Integer getStatus() 
	{
		return status;
	}
	public void setSequence(Integer sequence) 
	{
		this.sequence = sequence;
	}

	public Integer getSequence() 
	{
		return sequence;
	}
}
